<?php
// Create connection
$url="localhost";
$user_name="root";
$db_password="password";
$db_name="adaptive_learning";
$con=mysqli_connect($url, $user_name, $db_password, $db_name);

// Check connection
if (mysqli_connect_errno()) {
  echo "Failed to connect to MySQL: " . mysqli_connect_error();
} else {
	$result = mysqli_query($con,"SELECT * FROM Student ORDER BY s_name LIMIT 1");

	while($row = mysqli_fetch_array($result)) {
	  echo $row['s_name'];
	}
}
?>